
<include file="Tpl/default/index/header.html" />


<script type="text/javascript" src="/back_office/Tpl/Public/ckeditor/ckeditor.js"></script>
<script language="javascript" type="text/javascript" src="/back_office/Tpl/Public/My97DatePicker/WdatePicker.js"></script>

新闻编辑:<br />

<form action="__URL__/doEditNews" method="post" style="margin:15px; clear:both;">

<div class="input_item">
	<h3>标题</h3><label><input name="title" type="text" class="input_text_normal"  value="<?php echo $news_item['title']; ?>"/></label>
</div>

<div class="input_item"><h3>内容</h3>
    <label>
        <textarea name="content"  id="content" style="width:500px;"><?php echo $news_item['content']; ?></textarea>
        <script type="text/javascript">
				//<![CDATA[
					CKEDITOR.replace( 'content' );
				//]]>
		</script>
    </label>
</div>

<div class="input_item">
	<h3>发布时间</h3><label><input name="datetime" type="text"  class="input_text_normal" value="<?php echo $news_item['datetime']; ?>" onClick="WdatePicker()"/></label>
</div>


<div class="input_item">
	<h3>显示状态</h3><label><select name="state">
	    <option value="1" <?php if($news_item['state']=='1') echo 'selected'; ?>>显示</option>
	    <option value="0" <?php if($news_item['state']=='0') echo 'selected'; ?> >隐藏</option>
	</select></label>
</div>


<input name="id" type="hidden" value="<?php echo $news_item['id']; ?>">
<br />
<br />
<input name="" type="submit" value="保存" class="button_normal" />&nbsp;&nbsp;<input name="" type="button" value="放弃修改, 返回" class="button_normal" onclick="history.go(-1)" />


</form>


</body>
</html>